home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume12 / dvi2tty2 / patch01 < prev    next >
Encoding:
Text File  |  1990-04-13  |  4.0 KB  |  109 lines

  1. Newsgroups: comp.sources.misc
  2. organization: Delft University of Technology, Dep. of Electrotechnical engineering.
  3. subject: v12i009: DVI2TTY: Official patch 1
  4. from: marcel@duteca.tudelft.nl (Marcel Mol)
  5. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  6.  
  7. Posting-number: Volume 12, Issue 9
  8. Submitted-by: marcel@duteca.tudelft.nl (Marcel Mol)
  9. Archive-name: dvi2tty2/patch01
  10.  
  11. #! /bin/sh
  12. # This is a shell archive.  Remove anything before this line, then unpack
  13. # it by saving it into a file and typing "sh file".  To overwrite existing
  14. # files, type "sh file -c".  You can also feed this as standard input via
  15. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  16. # will see the following message at the end:
  17. #        "End of shell archive."
  18. # Contents:  difs
  19. # Wrapped by marcel@duteca on Tue Mar 27 23:38:20 1990
  20. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  21. if test -f 'difs' -a "${1}" != "-c" ; then 
  22.   echo shar: Will not clobber existing file \"'difs'\"
  23. else
  24. echo shar: Extracting \"'difs'\" \(2348 characters\)
  25. sed "s/^X//" >'difs' <<'END_OF_FILE'
  26. X*** ORG/dvi2tty.c    Fri Mar  2 00:41:11 1990
  27. X--- dvi2tty.c    Tue Mar 27 23:34:33 1990
  28. X***************
  29. X*** 1,4 ****
  30. X--- 1,8 ----
  31. X  /******************************************************************************
  32. X+  * Marcel Mol: 1990-03-27  (UUCP: marcel@duteca.tudelft.nl)
  33. X+  *               Fixed bug that causes the program to hang when it finds a
  34. X+  *               fontname with an 's' in it not followed by an 'y'.
  35. X+  *               Thanks to Paul Orgren (orgren@Stars.Reston.Unisys.COM).
  36. X   * Marcel Mol: 1990-02-04  (UUCP: marcel@duteca.tudelft.nl)
  37. X   *               First attempt to recognize symbol fonts, so bullets (in
  38. X   *               itemized lists) are translated to a proper character instead
  39. X***************
  40. X*** 137,143 ****
  41. X  #define onepp  8                /* only one page list allowed        */
  42. X  #define noarg  9                /* argument expected                 */
  43. X  
  44. X! char *dvi2tty = "@(#) dvi2tty.c  4.0 04/02/90 M.J.E. Mol (c) 1989, 1990";
  45. X  
  46. X  /*---------------------------------------------------------------------------*/
  47. X  
  48. X--- 141,147 ----
  49. X  #define onepp  8                /* only one page list allowed        */
  50. X  #define noarg  9                /* argument expected                 */
  51. X  
  52. X! char *dvi2tty = "@(#) dvi2tty.c  4.1 27/03/90 M.J.E. Mol (c) 1989, 1990";
  53. X  
  54. X  /*---------------------------------------------------------------------------*/
  55. X  
  56. X*** ORG/dvistuff.c    Fri Mar  2 00:41:14 1990
  57. X--- dvistuff.c    Tue Mar 27 23:29:28 1990
  58. X***************
  59. X*** 49,55 ****
  60. X  #define sget3()         snum(3)
  61. X  #define sget4()         snum(4)
  62. X  
  63. X! char *dvistuff = "@(#) dvistuff.c  4.0 04/02/90 M.J.E. Mol (c) 1989, 1990";
  64. X  
  65. X  /*---------------------------------------------------------------------------*/
  66. X  
  67. X--- 49,55 ----
  68. X  #define sget3()         snum(3)
  69. X  #define sget4()         snum(4)
  70. X  
  71. X! char *dvistuff = "@(#) dvistuff.c  4.1 27/03/90 M.J.E. Mol (c) 1989, 1990";
  72. X  
  73. X  /*---------------------------------------------------------------------------*/
  74. X  
  75. X***************
  76. X*** 1036,1047 ****
  77. X--- 1036,1049 ----
  78. X              symbolfont = TRUE;
  79. X              return;
  80. X          }
  81. X+     s++;    /* New line to fix bug; font names with 's' would hang */
  82. X      }
  83. X     
  84. X      symbolfont = FALSE;
  85. X      return;
  86. X  
  87. X  } /* setfont */
  88. X+    
  89. X  
  90. X  
  91. X  /*----------------------------------------------------------------------------*/
  92. END_OF_FILE
  93. if test 2348 -ne `wc -c <'difs'`; then
  94.     echo shar: \"'difs'\" unpacked with wrong size!
  95. fi
  96. # end of 'difs'
  97. fi
  98. echo shar: End of shell archive.
  99. exit 0
  100. -- 
  101. #########################################
  102. # Marcel J.E. Mol                       ######################################
  103. # Delft University of Technology          Pink Elephant Management Services  #
  104. # The Netherlands                         Voorburg                           #
  105. # UUCP: marcel@duteca.tudelft.nl          Tel: 070-694231                    #
  106. #                                          ######################################
  107. #########################################
  108.  
  109.